package com.taxer.service;

import com.taxer.db.entity.Emp;
import com.taxer.exception.TaxerExcepiton;

import java.util.List;

public interface EmpService {
    int deleteByPrimaryKey(Long id)throws TaxerExcepiton;

    int insert(Emp record)throws TaxerExcepiton;

    int insertSelective(Emp record)throws TaxerExcepiton;

    Emp selectByPrimaryKey(Long id)throws TaxerExcepiton;

    int updateByPrimaryKeySelective(Emp record)throws TaxerExcepiton;

    int updateByPrimaryKey(Emp record)throws TaxerExcepiton;
    List<Emp> findAll()throws TaxerExcepiton;
}
